home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 11
/
PC World Interactive 11.iso
/
share
/
multimed
/
MAINACT
/
DATA1.CAB
/
Script_Files
/
playfs.rex
< prev
next >
Wrap
OS/2 REXX Batch file
|
1998-05-04
|
1KB
|
26 lines
/**************************************************************
* *
* MainActor Rexx Script *
* *
* Plays the current project in fullscreen mode, restores *
* old settings when finished. *
* *
* Last modified: 09/23/97, Written by: Markus Moenig *
* *
**************************************************************/
IF GetGlobalInfo("LOADEDPROJECTS")= "0" THEN DO /* Check if there are */
BEGIN /* any projects loaded */
say "No project loaded! Exiting ..." /* No project, exit */
exit
END
oldfs_sett=SetPlaybackConfig("FULLSCREEN", "ON" ) /* Set FullScreen mode */
oldsts_sett=SetPlaybackConfig("SCALETOSCREEN", "OFF" ) /* Disable scaling */
oldbm_sett=SetPlaybackConfig("USEBESTMODE", "ON" ) /* Use best availabe screen-mode */
PlayProject() /* Play it ... */
SetPlaybackConfig("FULLSCREEN", oldfs_sett) /* Restore old settings ... */
SetPlaybackConfig("SCALETOSCREEN", oldsts_sett)
SetPlaybackConfig("USEBESTMODE", oldbm_sett)